<%include pub/admin_head.html%>
    </head>
    <body>
        <!-- Page Container -->
        <div class="page-container">
            <%include pub/admin_nav.html%>
            <!-- Page Content -->
            <div class="page-content">
                <div class="page-inner">
                	<div class="page-title">
                        <h3 class="breadcrumb-header">被封号用户列表</h3>
                        <input type="hidden" value="<%= pagecount%>" id="compagecount">
                		<input type="hidden" value="<%= compageid%>" id="compageid">
                    </div>
                    <div id="main-wrapper">
                        <div class="col-md-12">
                            <table class="table" style="margin-top: 10px;">
                                <thead>
                                    <tr>
                                    	<th>序号</th>
                                        <th>帐号</th>
                                        <th>账号昵称</th>
                                        <th>注册时间</th>
										<th>备注信息</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                   <%for(let i = 0; i < stulist.length; i++){%>
								<tr>
									<td class="order"><%= i+1 %></td>
									<td><%= stulist[i].username %></td>
                                    <td><%= stulist[i].nickname %></td>
                                    <td><%= stulist[i].time %></td>
									<td><%= stulist[i].remark %></td>
                                    <td>
                                        <a href="javascript:;" class="btn btn-danger user_fenhao_jf" uid="<%= stulist[i]._id %>">解封</a>
                                    </td>
								</tr>
								<%}%>	
                                </tbody>
                            </table>
                        </div>
                        <div id="work-pagination" class="pager row"></div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Javascripts -->
        <%include pub/admin_foot.html%>
        <script type="text/javascript">
        $(function(){
            var countnums = $('#compagecount').val();
            var currentPage = parseInt($('#compageid').val());
            if(countnums >  29 ){
                var total = Math.ceil(countnums/30);
                var prev = currentPage -1;
                var next = currentPage +1;
                $.jqPaginator('#work-pagination', {
                    totalPages: total,
                    visiblePages:5,
                    currentPage:currentPage,
                    page: '<li class="page"><a href="/admin/stulist/fh/{{page}}">{{page}}</a></li>',
                });
            }
        })
        </script>
    </body>
</html>